<!-- include tpl=header menutitle=$page_rs.title -->
<section class="bg-light p-5"{if $cate_rs.banner || $page_rs.banner} style="background:url('{$cate_rs.banner ? $cate_rs.banner.filename : $page_rs.banner.filename}') center center no-repeat;background-size:cover;"{/if}>
	<h1 class="p-4 text-center">{$cate_rs ? $cate_rs.title : $page_rs.title}</h1>
	<!-- php:$taglist = $cate_rs.tag ? $cate_rs.tag : $page_rs.tag -->
	<!-- if $taglist -->
	<div class="container">
		<div class="text-center m-3">
			<span class="p-2 bg-light-50 rounded-lg">
			标签：
			<!-- loop from=$taglist key=$k value=$v id=$idxx -->
			{$v.html}<!-- if $idxx.total != $idxx.num -->，<!-- /if -->
			<!-- /loop -->
			</span>
		</div>
	</div>
	<!-- /if -->
</section>
<section class="container"><div class="mt-3"><!-- include tpl=block/breadcrumb --></div></section>
<section class="container">
	<ul class="list-group list-group-flush">
		<!-- loop from=$rslist key=$key value=$value id=$tmpid -->
		<li class="list-group-item">
			<div class="media">
				<!-- if $value.thumb --><a href="{$value.url}" title="{$value.title}"><img src="{$value.thumb.gd.thumb}" class="align-self-start mr-3" alt="{$value.title}" width="120" /></a><!-- /if -->
				<div class="media-body">
					<a href="{$value.url}" title="{$value.title}"><h5 class="mt-0 mb-1">{$value.title}</h5></a>
					<!-- if $value.note -->
					<div class="text-muted">{func nl2br $value.note}</div>
					<!-- /if -->
					<div class="row mt-2">
						<small class="col text-muted">
							时间：{func time_format $value.dateline}，
							次数：{$value.hits}
						</small>
						<!-- if $value.tag -->
						<small class="col text-right">
							标签：
							<!-- loop from=$value.tag key=$k value=$v id=$idxx -->
							{$v.html}<!-- if $idxx.total != $idxx.num -->，<!-- /if -->
							<!-- /loop -->
						</small>
						<!-- /if -->
					</div>						
				</div>
			</div>
			
		</li>
		<!-- /loop -->
	</ul>
	<div class="mt-2"><!-- include tpl=block/pagelist --></div>
</section>

<!-- include tpl=footer -->